<div>
    <div class="row">
        <div class="col-md-2 padding-r-0">
            <vc:create path="shop/adminShop"></vc:create>
        </div>
        <div class="col-md-10">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择退单ID','adminRefundGroupOrder')"
                                    v-model="adminRefundGroupOrderInfo.conditions.returnId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择订单ID','adminRefundGroupOrder')"
                                    v-model="adminRefundGroupOrderInfo.conditions.orderId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model="adminRefundGroupOrderInfo.conditions.returnType">
                                    <option selected value="">
                                        {{vc.i18n('请选择退款类型','adminRefundGroupOrder')}}
                                    </option>
                                    <option value="1001">
                                        {{vc.i18n('自主退款','adminRefundGroupOrder')}}
                                    </option>
                                    <option value="2002">
                                        {{vc.i18n('拼团失败退款','adminRefundGroupOrder')}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryAdminRefundGroupOrderMethod()">
                                <i class="glyphicon glyphicon-search"></i> <span>
                                    <vc:i18n name="查询"></vc:i18n>
                                </span>
                            </button>
                        </div>
                    </div>
                </div>

            </div>

            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="拼团退单" namespace="adminRefundGroupOrder"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name='退单编号' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='订单' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='商品' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='购买人' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='购买数量' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='拼团价格' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='退款金额' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='退款类型' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='退款原因' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='状态' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='审核说明' namespace='adminRefundGroupOrder'></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="order in adminRefundGroupOrderInfo.orders">
                                <td class="text-center">{{order.returnId}}</td>
                                <td class="text-center">{{order.orderId}}</td>
                                <td class="text-center">{{order.prodName}}</td>
                                <td class="text-center">{{order.buyerName}}</td>
                                <td class="text-center">{{order.buyerCount}}</td>
                                <td class="text-center">{{order.groupPrice}}</td>
                                <td class="text-center">{{order.returnMoney}}</td>
                                <td class="text-center">{{order.returnType == '1001'?'自主退款':'拼团失败退款'}}</td>
                                <td class="text-center">{{order.reason}}</td>
                                <td class="text-center">{{order.state}}</td>
                                <td class="text-center">{{order.stateMsg}}</td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>